<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title><s:text name="login.page.title" /></title>
<script type="text/javascript" language="javascript"
	src="res/js/jquery.js"></script>
<script type="text/javascript" language="javascript"
	src="res/js/control.js"></script>
<link rel="stylesheet" type="text/css" href="res/css/theme.css" />
<link rel="stylesheet" type="text/css" href="res/css/style.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="res/css/ie-sucks.css" />
<![endif]-->
</head>
<body>
	<div id="container">
		<div id="header">
			<h2>
				<s:text name="project.page.title" />
			</h2>
			<div id="topmenu"></div>
		</div>
		<div id="wrapper">
			<div id="content">
				<div id="infowrap">
					<s:form onsubmit="userLogin(0);return false;">
						<div id="infobox" style="padding: 240px">
							<h3>
								<s:text name="login.page.title" />
							</h3>
							<table>
								<tbody>
									<tr>
										<th><s:text name="login.page.username" /></th>
										<td><s:textfield cols="20" maxlength="20"
												id="txtUserName" name="txtUserName"
												onchange="textChange( this , '#divName' , 1 , 'login.error.username' )" />
											<span id="divName" class="error" style="display: none"></span></td>
									</tr>
									<tr>
										<th><s:text name="login.page.password" /></th>
										<td><s:password cols="20" maxlength="20" id="txtPassword"
												name="txtPassword"
												onchange="textChange( this , '#divPwd' , 1 , 'login.error.password' )" /><span
											id="divPwd" class="error" style="display: none"></span></td>
									</tr>
									<tr>
										<th><s:text name="login.page.verifycode" /></th>
										<td><input type="text" maxlength="10" size="8"
											id="txtIdentityCode" name="txtIdentityCode"
											onchange="textChange( this , '#divCode' , 1 , 'login.error.verifycode' )" /><span
											id="divCode" style="display: none"></span></td>
									</tr>
									<tr>
										<th></th>
										<td><a href="javascript:changeCode()"
											title="<s:text name="login.page.changecode" />"><img
												src="generateValidateCode.do" id="imgCode" name="imgCode" border="0" /></a>&nbsp;&nbsp;<a
											href="javascript:changeCode()"
											title="<s:text name="login.page.changecode" />"><s:text
													name="login.page.changecode" /></a></td>
									</tr>

									<tr>
										<td colspan="2" align="center"><s:submit name="submit"
												key="login.page.login" /><span id="divLoginMsg"></span></td>
									</tr>
								</tbody>
							</table>
						</div>
					</s:form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>